<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?python
sourcetype = ["GAUGE", "COUNTER", "DERIVE", "ABSOLUT"]
?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"
    py:extends="'master.kid'">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
<title>${item.name} - PyHMon Web Interface</title>
</head>
<body>
    <h2>Node: ${item.plugin.nodes.name}, Plugin: ${item.plugin.name}, Item:
    ${item.name}</h2>
    <form action="save_item" method="post">
	<input type = "hidden" name = "itemid" value = "${item.item_id}"/>
	Source type: <input type = "text" name = "stype"
	    value = "${sourcetype[item.stype]}"/><br />
	Label: <input type = "text" name = "label" value = "${item.label}"/>
	    <br />
	cdef: <input type = "text" name = "cdef" value = "${item.cdef}"/><br />
	draw: <input type = "text" name = "draw" value = "${item.draw}"/><br />
	<br />
	<br /><input type="submit" name="submit" value="Save" />
    </form>
</body>
</html>